package com.atguigu.lease.web.admin.service;

import com.atguigu.lease.model.entity.ApartmentInfo;
import com.atguigu.lease.web.admin.service.impl.LeaseException;
import com.atguigu.lease.web.admin.vo.apartment.ApartmentDetailVo;
import com.atguigu.lease.web.admin.vo.apartment.ApartmentItemVo;
import com.atguigu.lease.web.admin.vo.apartment.ApartmentQueryVo;
import com.atguigu.lease.web.admin.vo.apartment.ApartmentSubmitVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
public interface ApartmentInfoService extends IService<ApartmentInfo> {

    void customPage(Page<ApartmentItemVo> page, ApartmentQueryVo queryVo);

    void customSaveOrUpdate(ApartmentSubmitVo apartmentSubmitVo);

    void queryPage(Page<ApartmentItemVo> page, ApartmentQueryVo queryVo);

    ApartmentDetailVo queryDetail(Long id);

    ApartmentDetailVo customGetById(Long id);

    void customRemoveById(Long id) throws LeaseException;
}